package com.qijian.flowable.domain.vo;

import cn.hutool.json.JSONObject;
import lombok.Data;

/**
 * @author qijian
 */
@Data
public class ModelVo {
    private String id;
    private String key;
    private String name;
    private String category;
    private String description;
    private String tenantId;
    private String editor;
    private boolean newVersion;
    private boolean cascade;

    public String getMetaInfo() {
        JSONObject jsonObject = new JSONObject();
        jsonObject.set("name", name);
        jsonObject.set("description", description);
        return jsonObject.toString();
    }
}
